package org.ws.task.starter;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.ws.task.netty.NettyConfig;
import org.ws.task.zookeeper.ZkConfig;

@ConfigurationProperties(prefix = "ws-task",ignoreUnknownFields = true)
public class WsTaskProperties {

    private ZkConfig zookeeper;

    private NettyConfig netty;

    public ZkConfig getZookeeper() {
        return zookeeper;
    }

    public void setZookeeper(ZkConfig zookeeper) {
        this.zookeeper = zookeeper;
    }

    public NettyConfig getNetty() {
        return netty;
    }

    public void setNetty(NettyConfig netty) {
        this.netty = netty;
    }
}
